import Vue from 'vue'

import 'normalize.css/normalize.css' 
import '@/styles/index.scss'
import App from './App'
import store from './store'
import router from './router'
import '@/icons'
import '@/permission'
// 运行mock
import './mockServer'
// 引入自定义的过滤器
import './filters'
// 引入CommonCard组件,设为全局组件
import CommonCard from '@/views/dashboard/components/CommonCard.vue'
import './plugins/elements'
// 后加的
Vue.component(CommonCard.name,CommonCard)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
